<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>蓝天家政后台管理系统</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<script type="text/javascript" src="js/jquery/jquery-1.7.min.js"></script>
<script type="text/javascript" src="js/jquery/jquery.validate.js"></script>
<script type="text/javascript" src="js/jquery/validate-methods.js"></script>
<script type="text/javascript" src="js/login.js"></script>

</head>

<body>
	<center>
		<img src="image/logo.png" style="position: relative; top: 10px;width:200px">
		<h1 align="center" class="title">蓝天家政后台管理系统</h1>
	</center>
	<div class="row">
		<div
			class="col-xs-10 col-xs-offset-1 col-sm-8 col-sm-offset-2 col-md-4 col-md-offset-4">
			<div class="login-panel panel-login panel-default">
				<div class="panel-body-login">
				
					<s:form action="providerLogin.action" method="post" theme="simple" validate="true" id="login">
						<fieldset>
							<div class="form-group">
<%-- 								<s:textfield name="provider.username" label="用户名" cssClass="form-control">用户名</s:textfield> --%>
 							<input class="form-control" placeholder="请输入用户名" id="username" name="provider.username" autofocus>
							</div>
							<div class="form-group">
								<!--<s:password name="provider.password" label="密  码" cssClass="form-control">密  码</s:password>-->
								<input type ="password" class="form-control" placeholder="请输入密码" id="password" name="provider.password">
							</div>
							
							<s:submit value="登录" cssClass="btn btn-primary"></s:submit>
							<a href="./register.jsp" class="btn btn-primary" >注册</a>
						</fieldset>
					</s:form>
					
				</div>
			</div>
		</div>
		<!-- /.col-->
	</div>
	<!-- /.row -->
</body>
</html>
